package org.example.domain;

import lombok.Data;

import java.util.List;

@Data
public class ChatResponse {
    private String id;
    private String object;

    private Long created;

    private String model;

    private Usage usage;

    private List<Choice> choices;

    @Data
    public static class Usage{
        int prompt_tokens;
        int completion_tokens;
        int total_tokens;
    }

    @Data
    public static class Choice{
        ChatMessage message;
        String finish_reason;
        int index;
    }
}
